package com.baosight.bean;

import java.util.List;

public class MethodInfo {
    public String commentContent;
    public String methodName;
    public String returnType;
    public List<ParamInfo> paramInfoList;

    public MethodInfo(String commentContent, String methodName, String returnType, List<ParamInfo> paramInfoList) {
        this.commentContent = commentContent;
        this.methodName = methodName;
        this.returnType = returnType;
        this.paramInfoList = paramInfoList;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public List<ParamInfo> getParamInfoList() {
        return paramInfoList;
    }

    public void setParamInfoList(List<ParamInfo> paramInfoList) {
        this.paramInfoList = paramInfoList;
    }

    @Override
    public String toString() {
        return "MethodInfo{" +
                "commentContent='" + commentContent + '\'' +
                ", methodName='" + methodName + '\'' +
                ", returnType='" + returnType + '\'' +
                ", paramInfoList=" + paramInfoList +
                '}';
    }
}

